package com.cskaoyan.service;

import com.cskaoyan.annotation.ExecutionLog;
import com.cskaoyan.bean.User;
import com.cskaoyan.mapper.UserMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author stone
 */
@Service
public class UserServiceImpl implements UserService{
    @Autowired
    UserMapper userMapper;
    @ExecutionLog
    @Override
    public void createUser(User user) {
        userMapper.insert(user);
        int i = 1 / 0;
    }
}
